package com.world.lzh.controller;/**
 * @Author liuzihong
 * @Date 2022/4/27 10:07
 * @Version 1.0
 */

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author lzh
 * @Date 2022/4/27 - 10:07
 * @Description
 * @Version 1.0.0
 **/
@RestController
@RequestMapping("/index")
public class IndexController {

    @GetMapping("/")
    public String index() {
        return "Hello lzh!";
    }
}
